package strategy.collectionsort;

/**
 * 学生类
 *
 * @author Liu Yicong
 * @date 2025/9/23
 */
public class Student {
	private String name;
	private int age;
	private double score;

	public Student(String name, int age, double score) {
		this.name = name;
		this.age = age;
		this.score = score;
	}

	public String getName() {
		return name;
	}

	public int getAge() {
		return age;
	}

	public double getScore() {
		return score;
	}

	@Override
	public String toString() {
		return "Student{" +
				"name='" + name + '\'' +
				", age=" + age +
				", score=" + score +
				'}';
	}
}
